<?php

return array(
    //user
    '/registration' => 'user/registration',
    '/login' => 'user/login',
    'login/<service:(google|yandex|twitter|vkontakte|facebook|mailru)>' => 'user/login',
    '/logout' => 'user/logout',
    '/user/autocomplete' => 'user/autocomplete',
    '/user/recover/<key:[a-z0-9]+>' => 'user/recover',
    '/user/recover' => 'user/recover',
    '/user/activate/<key:[a-z0-9]+>' => 'user/activate',
    '/user/settings' => 'user/settings',
    '/user/list' => 'user/list',
    '/user/<id:[0-9]+>' => 'user/view',
    '/user/removeRating/<id:[0-9]+>/<type:[0-9]+>' => 'user/removeRating',
    '/user/addRating/<id:[0-9]+>/<type:[0-9]+>' => 'user/addRating',
    '/user/ban/<id:[0-9]+>' => 'user/ban',
    '/user/active/<id:[0-9]+>' => 'user/active',
    '/user/filter/delete/<id:[0-9]+>' => 'user/filterDelete',
    '/user/role/<role:[0-9]+>/<id:[0-9]+>' => 'user/setRole',
    '/user/set/email' => 'user/setemail',

    //service
    '/service/create' => 'service/create',
    '/service/list' => 'service/list',
    '/service/<id:[0-9]+>' => 'service/view',
    '/service/delete/<id:[0-9]+>' => 'service/delete',
    '/service/helped/<id:[0-9]+>/<comment_id:[0-9]+>' => 'service/helped',
    '/service/up/<id:[0-9]+>' => 'service/up',
    '/service/close/<id:[0-9]+>' => 'service/close',

     //suggest
    '/suggest/delete/<id:[0-9]+>' => 'suggest/delete',
    '/suggest/<id:[0-9]+>' => 'suggest/view',
    '/suggest/create' => 'suggest/create',
    '/suggest/list' => 'suggest/list',
    '/suggest/helped/<item_id:[0-9]+>/<user_id:[0-9]+>' => 'suggest/helped',
    '/suggest/up/<id:[0-9]+>' => 'suggest/up',
    '/suggest/close/<id:[0-9]+>' => 'suggest/close',

    //static
    "/about"=>'static/about',
    "/donate"=>'static/donate',

    //ajax
    '/ajax/service/list'=> 'service/ajaxList',
    '/ajax/suggest/list'=> 'suggest/ajaxList',
);

